#!/bin/sh

cd `dirname $0`

sm_install_dir=/data/nio/MSC.Software/MaterialWorX/2017.1
was_install_dir=${sm_install_dir}/tomcat
sm_lib_dir=${was_install_dir}/webapps/MaterialWorX/WEB-INF/lib

source /etc/profile
#echo $PATH

export JAVA_HOME=/data/nio/MSC.Software/MaterialWorX/2017.1/java

cd ../../..
ant -f build.xml -Dbuild.target=jiu -lib /data/nio/MSC.Software/SimManager/2016.1/tomcat/webapps/SimManager/WEB-INF/lib/xalan-msc.jar    FastDeploy
